package com.messe.base.models;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;


/**
 * ExhibitionOrganizationRel entity. @author MyEclipse Persistence Tools
 */

public class ServerFormPartyClassificationRel  implements java.io.Serializable {

    // Fields    

     /**
	 * 
	 */
	private static final long serialVersionUID = 148632962307763656L;
	private Integer id;
	/**对应公司，组织**/
     private PartyClassification partyClassification;
     /**对应表单**/
     private ExhibitionServerForm exhibitionServerForm;
     /**最后更新时间**/
     private Timestamp lastUpdatedStamp;
     /**创建时间**/
     private Timestamp createdStamp;

 	private String typeOfChoice;
 	private Boolean isOptional;
     
     private Set<BrandClass> brandClasses=new HashSet<BrandClass>(0);
     
    // Constructors

    /** default constructor */
    public ServerFormPartyClassificationRel() {
    }

    // Property accessors

	public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }
	public ExhibitionServerForm getExhibitionServerForm() {
		return exhibitionServerForm;
	}


	public void setExhibitionServerForm(ExhibitionServerForm exhibitionServerForm) {
		this.exhibitionServerForm = exhibitionServerForm;
	}


	public Timestamp getLastUpdatedStamp() {
        return this.lastUpdatedStamp;
    }
    
    public void setLastUpdatedStamp(Timestamp lastUpdatedStamp) {
        this.lastUpdatedStamp = lastUpdatedStamp;
    }

    public Timestamp getCreatedStamp() {
        return this.createdStamp;
    }
    
    public void setCreatedStamp(Timestamp createdStamp) {
        this.createdStamp = createdStamp;
    }

	/**
	 * @return the partyClassification
	 */
	public PartyClassification getPartyClassification() {
		return partyClassification;
	}

	/**
	 * @param partyClassification the partyClassification to set
	 */
	public void setPartyClassification(PartyClassification partyClassification) {
		this.partyClassification = partyClassification;
	}

	/**
	 * @return the brandClasses
	 */
	public Set<BrandClass> getBrandClasses() {
		return brandClasses;
	}

	/**
	 * @param brandClasses the brandClasses to set
	 */
	public void setBrandClasses(Set<BrandClass> brandClasses) {
		this.brandClasses = brandClasses;
	}

	/**
	 * @return the typeOfChoice
	 */
	public String getTypeOfChoice() {
		return typeOfChoice;
	}

	/**
	 * @param typeOfChoice the typeOfChoice to set
	 */
	public void setTypeOfChoice(String typeOfChoice) {
		this.typeOfChoice = typeOfChoice;
	}

	/**
	 * @return the isOptional
	 */
	public Boolean getIsOptional() {
		return isOptional;
	}

	/**
	 * @param isOptional the isOptional to set
	 */
	public void setIsOptional(Boolean isOptional) {
		this.isOptional = isOptional;
	}




}